package com.tony.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.time.LocalDate;

/**
 * @author tony
 * @date 2020/2/27 8:47 下午
 */
@Data
@Validated
@ApiModel
public abstract class AbstractDateDTO {

    @ApiModelProperty("开始日期")
    protected LocalDate startDate;

    @ApiModelProperty("结束日期")
    protected LocalDate endDate;
}
